import { eMenuType } from '@/interface/enum';
import { RouteRecordRaw } from 'vue-router';
import { iRouteMeta } from '@/interface/iRouteInfo';
// import { getMenuImageUrl } from '@/utils/ui';

const controllerStatusMeta: iRouteMeta = {
  menu_show: true,
  menu_type: eMenuType.PAGE,
//   normal: getMenuImageUrl('room.png'),
//   hover: getMenuImageUrl('room_hover.png'),
  parentPath: '',
  sort: 1,
  title: '仪器控制',
  elements: [
    // {
    //   key: 'online_pay_refund',
    //   title: '退款功能',
    //   local_path: RouterConfig.Main.fullPath,
    //   menu_type: eMenuType.ELEMENT,
    // },
  ],
};

export const controller_routes: RouteRecordRaw = {
  name: 'controller_status',
  path: '/controller_status',
  meta: controllerStatusMeta,
//   redirect: '/hotels/hotel',
  component: () => import('@/views/controller_status/index.vue'),
  children: []
//   children: [
//     {
//       path: '/hotels/hotel',
//       name: 'hotel_list',
//       meta: {
//         menu_show: true,
//         menu_type: eMenuType.PAGE,
//         title: '酒店列表',
//         parentPath: '/hotels',
//         sort: 1,
//       },
//       component: () => import('@/views/hotels/hotels/indxe.vue'),
//     },
//   ],
};
